package Others.DesignPattern.VisitorPattern.Pattern.status;

import Others.DesignPattern.VisitorPattern.Pattern.human.man;
import Others.DesignPattern.VisitorPattern.Pattern.human.woman;

public class success extends Action {
    @Override
    public void getManConclusion(man ManConclusion) {
        System.out.println("男人成功时，背后多半有一个伟大的女人。");
    }

    @Override
    public void getWomanConclusion(woman WomanConclusion) {
        System.out.println("女人成功时，背后大多有一个不成功的男人。");
    }
}
